
from base import StringBuffer
def render(score, name, size = 16):
    score = score * 10
    score = score / 10 * 10
    _ = StringBuffer()
    _('''
    <span class="starbar%d_%d"></span>
    ''' % (size, score))
    return _.getvalue()